package org.exam.blog.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.exam.blog.domain.Course;
import org.exam.blog.query.MessageQuery;

import java.util.List;


@Mapper
public interface CourseMapper {
    void add(Course course);

    void delete(Long id);

    Course get(Long id);

    List<Course> getAll();

    void update(Course course);

    void patchDelete(Long[] ids);


    List<Course> queryPage(MessageQuery messageQuery);

}
